using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace PeDALS.Utilities.Base64
{
    public static class Encode
    {
        public static string PdfFile(string path)
        {
            byte[] pdf = File.ReadAllBytes(path);
            return Convert.ToBase64String(pdf);
        }
    }
}
